﻿<?php if($sf_user->hasCredential("magasinier")){?>
<table>
  <tbody>
  	<tr>
      <th>Nom:</th>
      <td><?php echo $transport->getNom() ?></td>
    </tr>
    <tr>
      <th>Immatriculation:</th>
      <td><?php echo $transport->getImmatriculation() ?></td>
    </tr>
    <tr>
      <th>Marque:</th>
      <td><?php echo $transport->getMarque() ?></td>
    </tr>
    <tr>
      <th>Date:</th>
      <td><?php echo $transport->getDate() ?></td>
    </tr>
  </tbody>
</table>

<hr />

<a href="<?php echo url_for('transport/edit?id='.$transport->getId()) ?>">Modifier</a>
&nbsp;
<a href="<?php echo url_for('transport/list') ?>">Retour à la liste</a>
<?php
}else{
	echo "Droits insuffisants.";
} ?>
